﻿using System;
using System.Collections.Generic;
using System.Text;
using Liberty.Domain.ApprovalManagement;
using Liberty.Domain.Kernel;
using Liberty.Domain.CaseManagement;
using Liberty.Domain.GrantManagement;
using Liberty.Domain.ServiceMemberManagement;

using Peradigm.Framework.Persistence;
using Peradigm.Framework.Domain.Security;

using Microsoft.VisualStudio.TestTools.UnitTesting;
//using NUnit.Framework.SyntaxHelpers;

namespace Domain.Tests.ApprovalManagement
{

#if DEBUG
    [TestClass()]
    public class FollowUpEventTests : Object
    {

        #region Constants
        private const string
            FIRST_NAME = "TestFirstName",
            LAST_NAME = "TestLastName",
            NOTES_DESCRIPTION = "Test Notes Description";

        private const string ACTIVITY_DESCRIPTION = "D";

        private const long
            EMPLOYEE_ID = 56L;
        #endregion

        #region SetUp and TearDown EventTests
        [TestInitialize()]
        public void SetUpEventTests()
        {
        }

        [TestCleanup()]
        public void TearDownEventTests()
        {
        }
        #endregion

        #region Test Methods

        
        [TestMethod()]
        public void TestProperties()
        {
            Activity anActivity = new Activity(ACTIVITY_DESCRIPTION, ReferenceValue.DEFAULT_RANKING, true);
            User aUser = new User();
            User recipient = new User();


            FollowUpEvent followupEvent = new FollowUpEvent();
            followupEvent.Activity = anActivity;
            followupEvent.Note = NOTES_DESCRIPTION;
            followupEvent.CreatedBy = aUser;
            followupEvent.Recipient = recipient;

            Assert.AreEqual(anActivity, followupEvent.Activity);
            Assert.AreEqual(NOTES_DESCRIPTION, followupEvent.Note);
            Assert.AreEqual(aUser, followupEvent.CreatedBy);
            Assert.AreEqual(recipient, followupEvent.Recipient);            
        }

        #endregion Test methods

        #region Support Methods
        #endregion

        #region Data Elements
        #endregion

    }
#endif

}



